POV-Ray : Newsgroups : povray.off-topic : Database question (for Gail? :-) : Re: Database question (for Gail? :-) Server Time
6 Sep 2024 21:22:18 EDT (-0400)
  Re: Database question (for Gail? :-)  
From: Darren New
Date: 8 Oct 2008 05:54:37
Message: <48ec835d$1@news.povray.org>
Gail wrote:
> ALTER TABLE Accounts ADD CONSTRAINT ck_AccountType CHECK (AccountType = 
> 'CreditCard' AND exxpirationdate IS NOT NULL)

Ah. Very cool.  Sadly, this is MySQL, which sucks, so altho it parses 
check constraints, it doesn't actually enforce them.  Welcome to the 
wonderful world of toy RDBMs.

-- 
Darren New / San Diego, CA, USA (PST)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.